package com.rightsidetech.activity.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * mt_user_join_activity_process
 * @author
 */
public class MtUserJoinActivityProcess implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 活动id
     */
    private Long actId;

    /**
     * 活动名称
     */
    private String actName;

    /**
     * 活动开始时间
     */
    private Date actStart;

    /**
     * 活动结束时间
     */
    private Date actEnd;

    /**
     * 用户id
     */
    private Long userAccountId;

    /**
     * 用户名
     */
    private String userLoginName;

    /**
     * 用户联系电话
     */
    private String userPhone;

    /**
     * 用户大区id
     */
    private Long userArea;

    /**
     * 用户图片
     */
    private String userImage;

    /**
     * 业务id(订单,积赞，堆头)
     */
    private Long bizId;

    /**
     * 图片
     */
    private String picture;

    /**
     * 业务值
     */
    private Integer bizValue;

    /**
     * code
     */
    private String dicCode;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 修改时间
     */
    private Date updatedAt;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getActId() {
        return actId;
    }

    public void setActId(Long actId) {
        this.actId = actId;
    }

    public String getActName() {
        return actName;
    }

    public void setActName(String actName) {
        this.actName = actName;
    }

    public Date getActStart() {
        return actStart;
    }

    public void setActStart(Date actStart) {
        this.actStart = actStart;
    }

    public Date getActEnd() {
        return actEnd;
    }

    public void setActEnd(Date actEnd) {
        this.actEnd = actEnd;
    }

    public Long getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(Long userAccountId) {
        this.userAccountId = userAccountId;
    }

    public String getUserLoginName() {
        return userLoginName;
    }

    public void setUserLoginName(String userLoginName) {
        this.userLoginName = userLoginName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Long getUserArea() {
        return userArea;
    }

    public void setUserArea(Long userArea) {
        this.userArea = userArea;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    public Long getBizId() {
        return bizId;
    }

    public void setBizId(Long bizId) {
        this.bizId = bizId;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public Integer getBizValue() {
        return bizValue;
    }

    public void setBizValue(Integer bizValue) {
        this.bizValue = bizValue;
    }

    public String getDicCode() {
        return dicCode;
    }

    public void setDicCode(String dicCode) {
        this.dicCode = dicCode;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        MtUserJoinActivityProcess other = (MtUserJoinActivityProcess) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
                && (this.getActId() == null ? other.getActId() == null : this.getActId().equals(other.getActId()))
                && (this.getActName() == null ? other.getActName() == null : this.getActName().equals(other.getActName()))
                && (this.getActStart() == null ? other.getActStart() == null : this.getActStart().equals(other.getActStart()))
                && (this.getActEnd() == null ? other.getActEnd() == null : this.getActEnd().equals(other.getActEnd()))
                && (this.getUserAccountId() == null ? other.getUserAccountId() == null : this.getUserAccountId().equals(other.getUserAccountId()))
                && (this.getUserLoginName() == null ? other.getUserLoginName() == null : this.getUserLoginName().equals(other.getUserLoginName()))
                && (this.getUserPhone() == null ? other.getUserPhone() == null : this.getUserPhone().equals(other.getUserPhone()))
                && (this.getUserArea() == null ? other.getUserArea() == null : this.getUserArea().equals(other.getUserArea()))
                && (this.getUserImage() == null ? other.getUserImage() == null : this.getUserImage().equals(other.getUserImage()))
                && (this.getBizId() == null ? other.getBizId() == null : this.getBizId().equals(other.getBizId()))
                && (this.getPicture() == null ? other.getPicture() == null : this.getPicture().equals(other.getPicture()))
                && (this.getBizValue() == null ? other.getBizValue() == null : this.getBizValue().equals(other.getBizValue()))
                && (this.getDicCode() == null ? other.getDicCode() == null : this.getDicCode().equals(other.getDicCode()))
                && (this.getCreatedAt() == null ? other.getCreatedAt() == null : this.getCreatedAt().equals(other.getCreatedAt()))
                && (this.getUpdatedAt() == null ? other.getUpdatedAt() == null : this.getUpdatedAt().equals(other.getUpdatedAt()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getActId() == null) ? 0 : getActId().hashCode());
        result = prime * result + ((getActName() == null) ? 0 : getActName().hashCode());
        result = prime * result + ((getActStart() == null) ? 0 : getActStart().hashCode());
        result = prime * result + ((getActEnd() == null) ? 0 : getActEnd().hashCode());
        result = prime * result + ((getUserAccountId() == null) ? 0 : getUserAccountId().hashCode());
        result = prime * result + ((getUserLoginName() == null) ? 0 : getUserLoginName().hashCode());
        result = prime * result + ((getUserPhone() == null) ? 0 : getUserPhone().hashCode());
        result = prime * result + ((getUserArea() == null) ? 0 : getUserArea().hashCode());
        result = prime * result + ((getUserImage() == null) ? 0 : getUserImage().hashCode());
        result = prime * result + ((getBizId() == null) ? 0 : getBizId().hashCode());
        result = prime * result + ((getPicture() == null) ? 0 : getPicture().hashCode());
        result = prime * result + ((getBizValue() == null) ? 0 : getBizValue().hashCode());
        result = prime * result + ((getDicCode() == null) ? 0 : getDicCode().hashCode());
        result = prime * result + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode());
        result = prime * result + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", actId=").append(actId);
        sb.append(", actName=").append(actName);
        sb.append(", actStart=").append(actStart);
        sb.append(", actEnd=").append(actEnd);
        sb.append(", userAccountId=").append(userAccountId);
        sb.append(", userLoginName=").append(userLoginName);
        sb.append(", userPhone=").append(userPhone);
        sb.append(", userArea=").append(userArea);
        sb.append(", userImage=").append(userImage);
        sb.append(", bizId=").append(bizId);
        sb.append(", picture=").append(picture);
        sb.append(", bizValue=").append(bizValue);
        sb.append(", dicCode=").append(dicCode);
        sb.append(", createdAt=").append(createdAt);
        sb.append(", updatedAt=").append(updatedAt);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}